-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create command request-chain
to allow using testnets in bash
#3385
Conversation
request-chain
to allow using a testnet in bash
request-chain
to allow using a testnet in bashrequest-chain
to allow using testnets in bash
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! 👍
linera-client/src/client_options.rs
Outdated
set_default: bool, | ||
}, | ||
|
||
/// Add a new followed chain (a chain without keypair) to the follow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// Add a new followed chain (a chain without keypair) to the follow. | |
/// Add a new followed chain (a chain without keypair) to follow. |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
We need the same for owners as well - everything that has hash hardcoded in READMEs. |
CLI.md
Outdated
@@ -794,9 +798,34 @@ Initialize a wallet from the genesis configuration | |||
|
|||
|
|||
|
|||
## `linera wallet request-chain` | |||
|
|||
Request a chain from a faucet and add it to the wallet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd be more precise here - we're requesting creation of a new chain from the wallet.
Yes. Everytime we generate a key pair, we should print the owner/address on stdout. |
## Motivation Allow removing the hard-coded OWNER variables from README tests ## Proposal Make sure to return the owner on stdout every time the CLI generates a key pair. ## Test Plan I modified the main README file. ## Links Continues #3385
Motivation
Proposal
request-chain
follow-chain
while we're at itTest Plan
Tested new CLI commands manually (together with
forget-keys
andforget-chain
) + CIRelease Plan
These changes COULD be backported to the latest
testnet
branch, then be released in a new SDK.